﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CandidatePrintDataSet" targetNamespace="http://tempuri.org/CandidatePrintDataSet.xsd" xmlns:mstns="http://tempuri.org/CandidatePrintDataSet.xsd" xmlns="http://tempuri.org/CandidatePrintDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CandidatePrintDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CandidatePrintDataSet" msprop:Generator_DataSetName="CandidatePrintDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Candidate" msprop:Generator_UserTableName="Candidate" msprop:Generator_RowDeletedName="CandidateRowDeleted" msprop:Generator_RowChangedName="CandidateRowChanged" msprop:Generator_RowClassName="CandidateRow" msprop:Generator_RowChangingName="CandidateRowChanging" msprop:Generator_RowEvArgName="CandidateRowChangeEvent" msprop:Generator_RowEvHandlerName="CandidateRowChangeEventHandler" msprop:Generator_TableClassName="CandidateDataTable" msprop:Generator_TableVarName="tableCandidate" msprop:Generator_RowDeletingName="CandidateRowDeleting" msprop:Generator_TablePropName="Candidate">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:long" />
              <xs:element name="Nome" msprop:Generator_UserColumnName="Nome" msprop:Generator_ColumnPropNameInRow="Nome" msprop:Generator_ColumnVarNameInTable="columnNome" msprop:Generator_ColumnPropNameInTable="NomeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="DataNascimento" msprop:Generator_UserColumnName="DataNascimento" msprop:Generator_ColumnPropNameInRow="DataNascimento" msprop:Generator_ColumnVarNameInTable="columnDataNascimento" msprop:Generator_ColumnPropNameInTable="DataNascimentoColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Sexo" msprop:Generator_UserColumnName="Sexo" msprop:Generator_ColumnPropNameInRow="Sexo" msprop:Generator_ColumnVarNameInTable="columnSexo" msprop:Generator_ColumnPropNameInTable="SexoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Morada" msprop:Generator_UserColumnName="Morada" msprop:Generator_ColumnPropNameInRow="Morada" msprop:Generator_ColumnVarNameInTable="columnMorada" msprop:Generator_ColumnPropNameInTable="MoradaColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Distrito" msprop:Generator_UserColumnName="Distrito" msprop:Generator_ColumnPropNameInRow="Distrito" msprop:Generator_ColumnVarNameInTable="columnDistrito" msprop:Generator_ColumnPropNameInTable="DistritoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Concelho" msprop:Generator_UserColumnName="Concelho" msprop:Generator_ColumnPropNameInRow="Concelho" msprop:Generator_ColumnVarNameInTable="columnConcelho" msprop:Generator_ColumnPropNameInTable="ConcelhoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Localidade" msprop:Generator_UserColumnName="Localidade" msprop:Generator_ColumnPropNameInRow="Localidade" msprop:Generator_ColumnVarNameInTable="columnLocalidade" msprop:Generator_ColumnPropNameInTable="LocalidadeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="CodigoPostal" msprop:Generator_UserColumnName="CodigoPostal" msprop:Generator_ColumnPropNameInRow="CodigoPostal" msprop:Generator_ColumnVarNameInTable="columnCodigoPostal" msprop:Generator_ColumnPropNameInTable="CodigoPostalColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Fotografia" msprop:Generator_UserColumnName="Fotografia" msprop:Generator_ColumnPropNameInRow="Fotografia" msprop:Generator_ColumnVarNameInTable="columnFotografia" msprop:Generator_ColumnPropNameInTable="FotografiaColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="Email" msprop:Generator_UserColumnName="Email" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnVarNameInTable="columnEmail" msprop:Generator_ColumnPropNameInTable="EmailColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Telefone1" msprop:Generator_UserColumnName="Telefone1" msprop:Generator_ColumnPropNameInRow="Telefone1" msprop:Generator_ColumnVarNameInTable="columnTelefone1" msprop:Generator_ColumnPropNameInTable="Telefone1Column" type="xs:string" minOccurs="0" />
              <xs:element name="Telefone2" msprop:Generator_UserColumnName="Telefone2" msprop:Generator_ColumnPropNameInRow="Telefone2" msprop:Generator_ColumnVarNameInTable="columnTelefone2" msprop:Generator_ColumnPropNameInTable="Telefone2Column" type="xs:string" minOccurs="0" />
              <xs:element name="Habilitacoes" msprop:Generator_UserColumnName="Habilitacoes" msprop:Generator_ColumnPropNameInRow="Habilitacoes" msprop:Generator_ColumnVarNameInTable="columnHabilitacoes" msprop:Generator_ColumnPropNameInTable="HabilitacoesColumn" type="xs:string" minOccurs="0" />
              <xs:element name="SituacaoProfissional" msprop:Generator_UserColumnName="SituacaoProfissional" msprop:Generator_ColumnPropNameInRow="SituacaoProfissional" msprop:Generator_ColumnVarNameInTable="columnSituacaoProfissional" msprop:Generator_ColumnPropNameInTable="SituacaoProfissionalColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Outra" msprop:Generator_UserColumnName="Outra" msprop:Generator_ColumnPropNameInRow="Outra" msprop:Generator_ColumnVarNameInTable="columnOutra" msprop:Generator_ColumnPropNameInTable="OutraColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Contribuinte" msprop:Generator_UserColumnName="Contribuinte" msprop:Generator_ColumnPropNameInRow="Contribuinte" msprop:Generator_ColumnVarNameInTable="columnContribuinte" msprop:Generator_ColumnPropNameInTable="ContribuinteColumn" type="xs:string" minOccurs="0" />
              <xs:element name="EstadoCivil" msprop:Generator_UserColumnName="EstadoCivil" msprop:Generator_ColumnPropNameInRow="EstadoCivil" msprop:Generator_ColumnVarNameInTable="columnEstadoCivil" msprop:Generator_ColumnPropNameInTable="EstadoCivilColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ConhecimentosInformaticos" msprop:Generator_UserColumnName="ConhecimentosInformaticos" msprop:Generator_ColumnPropNameInRow="ConhecimentosInformaticos" msprop:Generator_ColumnVarNameInTable="columnConhecimentosInformaticos" msprop:Generator_ColumnPropNameInTable="ConhecimentosInformaticosColumn" type="xs:string" minOccurs="0" />
              <xs:element name="CartaConducao" msprop:Generator_UserColumnName="CartaConducao" msprop:Generator_ColumnPropNameInRow="CartaConducao" msprop:Generator_ColumnVarNameInTable="columnCartaConducao" msprop:Generator_ColumnPropNameInTable="CartaConducaoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="FuncaoAnterior" msprop:Generator_UserColumnName="FuncaoAnterior" msprop:Generator_ColumnPropNameInRow="FuncaoAnterior" msprop:Generator_ColumnVarNameInTable="columnFuncaoAnterior" msprop:Generator_ColumnPropNameInTable="FuncaoAnteriorColumn" type="xs:string" minOccurs="0" />
              <xs:element name="InicioAnterior" msprop:Generator_UserColumnName="InicioAnterior" msprop:Generator_ColumnPropNameInRow="InicioAnterior" msprop:Generator_ColumnVarNameInTable="columnInicioAnterior" msprop:Generator_ColumnPropNameInTable="InicioAnteriorColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="FimAnterior" msprop:Generator_UserColumnName="FimAnterior" msprop:Generator_ColumnPropNameInRow="FimAnterior" msprop:Generator_ColumnVarNameInTable="columnFimAnterior" msprop:Generator_ColumnPropNameInTable="FimAnteriorColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EmpresaAnterior" msprop:Generator_UserColumnName="EmpresaAnterior" msprop:Generator_ColumnPropNameInRow="EmpresaAnterior" msprop:Generator_ColumnVarNameInTable="columnEmpresaAnterior" msprop:Generator_ColumnPropNameInTable="EmpresaAnteriorColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Estado" msprop:Generator_UserColumnName="Estado" msprop:Generator_ColumnPropNameInRow="Estado" msprop:Generator_ColumnVarNameInTable="columnEstado" msprop:Generator_ColumnPropNameInTable="EstadoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Alterado" msprop:Generator_UserColumnName="Alterado" msprop:Generator_ColumnPropNameInRow="Alterado" msprop:Generator_ColumnVarNameInTable="columnAlterado" msprop:Generator_ColumnPropNameInTable="AlteradoColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CandidateVacancy" msprop:Generator_UserTableName="CandidateVacancy" msprop:Generator_RowDeletedName="CandidateVacancyRowDeleted" msprop:Generator_RowChangedName="CandidateVacancyRowChanged" msprop:Generator_RowClassName="CandidateVacancyRow" msprop:Generator_RowChangingName="CandidateVacancyRowChanging" msprop:Generator_RowEvArgName="CandidateVacancyRowChangeEvent" msprop:Generator_RowEvHandlerName="CandidateVacancyRowChangeEventHandler" msprop:Generator_TableClassName="CandidateVacancyDataTable" msprop:Generator_TableVarName="tableCandidateVacancy" msprop:Generator_RowDeletingName="CandidateVacancyRowDeleting" msprop:Generator_TablePropName="CandidateVacancy">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:long" />
              <xs:element name="VacancyId" msprop:Generator_UserColumnName="VacancyId" msprop:Generator_ColumnPropNameInRow="VacancyId" msprop:Generator_ColumnVarNameInTable="columnVacancyId" msprop:Generator_ColumnPropNameInTable="VacancyIdColumn" type="xs:long" />
              <xs:element name="Estado" msprop:Generator_UserColumnName="Estado" msprop:Generator_ColumnPropNameInRow="Estado" msprop:Generator_ColumnVarNameInTable="columnEstado" msprop:Generator_ColumnPropNameInTable="EstadoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Area" msprop:Generator_UserColumnName="Area" msprop:Generator_ColumnPropNameInRow="Area" msprop:Generator_ColumnVarNameInTable="columnArea" msprop:Generator_ColumnPropNameInTable="AreaColumn" type="xs:string" minOccurs="0" />
              <xs:element name="SubArea" msprop:Generator_UserColumnName="SubArea" msprop:Generator_ColumnPropNameInRow="SubArea" msprop:Generator_ColumnVarNameInTable="columnSubArea" msprop:Generator_ColumnPropNameInTable="SubAreaColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Funcao" msprop:Generator_UserColumnName="Funcao" msprop:Generator_ColumnPropNameInRow="Funcao" msprop:Generator_ColumnVarNameInTable="columnFuncao" msprop:Generator_ColumnPropNameInTable="FuncaoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Referencia" msprop:Generator_UserColumnName="Referencia" msprop:Generator_ColumnPropNameInRow="Referencia" msprop:Generator_ColumnVarNameInTable="columnReferencia" msprop:Generator_ColumnPropNameInTable="ReferenciaColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Empresa" msprop:Generator_UserColumnName="Empresa" msprop:Generator_ColumnPropNameInRow="Empresa" msprop:Generator_ColumnVarNameInTable="columnEmpresa" msprop:Generator_ColumnPropNameInTable="EmpresaColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Descricao" msprop:Generator_UserColumnName="Descricao" msprop:Generator_ColumnPropNameInRow="Descricao" msprop:Generator_ColumnVarNameInTable="columnDescricao" msprop:Generator_ColumnPropNameInTable="DescricaoColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CandidateAction" msprop:Generator_UserTableName="CandidateAction" msprop:Generator_RowDeletedName="CandidateActionRowDeleted" msprop:Generator_RowChangedName="CandidateActionRowChanged" msprop:Generator_RowClassName="CandidateActionRow" msprop:Generator_RowChangingName="CandidateActionRowChanging" msprop:Generator_RowEvArgName="CandidateActionRowChangeEvent" msprop:Generator_RowEvHandlerName="CandidateActionRowChangeEventHandler" msprop:Generator_TableClassName="CandidateActionDataTable" msprop:Generator_TableVarName="tableCandidateAction" msprop:Generator_RowDeletingName="CandidateActionRowDeleting" msprop:Generator_TablePropName="CandidateAction">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:long" />
              <xs:element name="ActionId" msprop:Generator_UserColumnName="ActionId" msprop:Generator_ColumnPropNameInRow="ActionId" msprop:Generator_ColumnVarNameInTable="columnActionId" msprop:Generator_ColumnPropNameInTable="ActionIdColumn" type="xs:long" />
              <xs:element name="Estado" msprop:Generator_UserColumnName="Estado" msprop:Generator_ColumnVarNameInTable="columnEstado" msprop:Generator_ColumnPropNameInRow="Estado" msprop:Generator_ColumnPropNameInTable="EstadoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Motivo" msprop:Generator_UserColumnName="Motivo" msprop:Generator_ColumnPropNameInRow="Motivo" msprop:Generator_ColumnVarNameInTable="columnMotivo" msprop:Generator_ColumnPropNameInTable="MotivoColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Observacoes" msprop:Generator_UserColumnName="Observacoes" msprop:Generator_ColumnPropNameInRow="Observacoes" msprop:Generator_ColumnVarNameInTable="columnObservacoes" msprop:Generator_ColumnPropNameInTable="ObservacoesColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Entrevistador" msprop:Generator_UserColumnName="Entrevistador" msprop:Generator_ColumnPropNameInRow="Entrevistador" msprop:Generator_ColumnVarNameInTable="columnEntrevistador" msprop:Generator_ColumnPropNameInTable="EntrevistadorColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Candidate" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="CandidateVacancy_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CandidateVacancy" />
      <xs:field xpath="mstns:VacancyId" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="CandidateAction_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CandidateAction" />
      <xs:field xpath="mstns:Id" />
      <xs:field xpath="mstns:ActionId" />
    </xs:unique>
    <xs:keyref name="FK_Candidate_CandidateAction" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK_Candidate_CandidateAction" msprop:rel_Generator_RelationVarName="relationFK_Candidate_CandidateAction" msprop:rel_Generator_UserChildTable="CandidateAction" msprop:rel_Generator_UserParentTable="Candidate" msprop:rel_Generator_ParentPropName="CandidateRow" msprop:rel_Generator_ChildPropName="GetCandidateActionRows">
      <xs:selector xpath=".//mstns:CandidateAction" />
      <xs:field xpath="mstns:Id" />
    </xs:keyref>
    <xs:keyref name="FK_Candidate_CandidateVacancy" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK_Candidate_CandidateVacancy" msprop:rel_Generator_RelationVarName="relationFK_Candidate_CandidateVacancy" msprop:rel_Generator_UserChildTable="CandidateVacancy" msprop:rel_Generator_UserParentTable="Candidate" msprop:rel_Generator_ParentPropName="CandidateRow" msprop:rel_Generator_ChildPropName="GetCandidateVacancyRows">
      <xs:selector xpath=".//mstns:CandidateVacancy" />
      <xs:field xpath="mstns:Id" />
    </xs:keyref>
  </xs:element>
</xs:schema>